import axios from '@/utils/request';

export function getLoadButtonIsShow(params) {
    return axios.post({
        url: '/order-cart/loadButtonIsShow',
        data: params
    }).then((res) => {
        return res
    })
}

export function getOrderCartListAll(params) {
    return axios.post({
        url: '/order-cart/listAll',
        data: params
    }).then((res) => {
        return res
    })
}
export function getOrderCartList(params) {
    return axios.post({
        url: '/order-cart/list',
        data: params
    }).then((res) => {
        return res
    })
}

export function editOrderCart(params) {
    return axios.post({
        url: '/order-cart/edit',
        data: params
    }).then((res) => {
        return res
    })
}

export function deleteOrderCart(params) {
    return axios.post({
        url: '/order-cart/delete',
        data: params
    }).then((res) => {
        return res
    })
}

export function loadOrderCart(params) {
    return axios.post({
        url: '/order-cart/load',
        data: params
    }).then((res) => {
        return res
    })
}

